Thursday, February 17, 2011

[C#] Socket Programming] 00 - Single Client\Server (Part 1 - Server)

Part one of two:



Source: http://www.mediafire.com/?az7t7391rcofc94


Some things that were forgotten:
  • You can make the buffer size whatever you want, I just used SendBufferSize for the example.

4 comments:

  1. well done job ogee..

    http://csexpert111.blogspot.com/

    kindly vists, join

    ReplyDelete
  2. Thanks. Worked like a charm. Now wondering how to send messages from server to the client.

    ReplyDelete
  3. Thank you so much for your helpfull trainng videos.
    From Turkey

    ReplyDelete
  4. how to write the socket programming in C# that client sends 20 msg to server and server replies once after receiving 5 msg from client. for example client sends msg 20 times, but server only responds 4 times each time when 5 msg received. if server gets less than 5 msg doesn't respond to client. please help me out. Thanks

    ReplyDelete