Thread: error on winsocket

  1. #1
    Registered User lliero's Avatar
    Join Date
    Oct 2001
    Posts
    59

    Unhappy error on winsocket

    hjello,


    i have a problem on winsock programming...

    i am using vb6. this is my dilema..


    i have a program <client/ server > which sends data to another computer via network <tcp/ip protocol>. i can shut down the computer,restart the computer, and also chat with user over the network.. thats fine.. but when i restart my computer and connect again to the server, i cannot connect.. why is this? can anyone help me pleaze?....

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,227
    Well first you could try posting on a VB forum instead of a C/C++ one...

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793

    Re: error on winsocket

    Originally posted by lliero
    hjello,


    i have a problem on winsock programming...

    i am using vb6. this is my dilema..


    i have a program <client/ server > which sends data to another computer via network <tcp/ip protocol>. i can shut down the computer,restart the computer, and also chat with user over the network.. thats fine.. but when i restart my computer and connect again to the server, i cannot connect.. why is this? can anyone help me pleaze?....
    Your server will probably call listen() and then accept when the client connects....I guess that after your client disconnects, there is no mechanism for the server to go back to listen()

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. winsocket books
    By datainjector in forum Windows Programming
    Replies: 2
    Last Post: 11-01-2002, 12:06 PM