View Single Post
  #1 (permalink)  
Old 10-16-2007, 05:47 AM
mobilegeek mobilegeek is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 205
mobilegeek is on a distinguished road
Question Win32 sockets in Windows mobile 5.0

Hi all,
i am using Win32 sockets in Windows mobile 5.0 smartphone. My data size is around 10k. I perform following actions to download data from server :

1. Enable ConnectionManager when application starts.
2. Call WSAStartup() when application starts.
3. Call socket().
4. Connect to server.
5. Send request.
6. Receive response.
7. Close socket.

For the first time data downloaded properly. But if i try to download data again, socket() and connect() both gives exceptions. Can you pls suggest me what am i doing wrong?
Reply With Quote
Sponsored Links