Click here to Skip to main content
15,892,480 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi :)

I am esmail mobini .

I have a question about client & buffer.

I have several camand what send to server.

I want send command to server by buffer ( one buffer).

who do use buffer to send comanad and who do define socket for client ?


I want write program by WindowsFormsApplication .

who do define socket for every button ?


please help me
Posted

1 solution

If you are simply sending messages between 2 points as in a typical Client/Server setup, then you need to read up on C# Network Classes that can be forund in the System.Net and System.Net.Sockets classes.

I think you will be needing mainly the TCPClient and TCPListener classess
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900