Skip to content

Socket Help

Jason Hedrick

Asked Jul 23, 2008, 4:38 PM EDT1 answer
Share
LinkedInX
Hey im looking to make a simple chat program to send messages between two clients.  Right now I am trying to use sockets (in c#).  Basically in pseudo code i need two clients to be able to connect to each other and then send each other peices of text.  Im not sure what is the best way to do this.  Our sockets what I should use or is there some better way?

If i am using sockets how can i connect them to each other?  I know a little about sockets, like how to use .connect() but i dont think that is what I want.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Bechir Bejaoui
    +1
    In the articles zone of c sharp corner try to take a look on the networking cathegory there are a lot chating code sources samples
    +1