Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
TCP
Author:
Zvonimir Begic
E-mail:
Click to e-mail author
Submitted:
7/21/2012
Version:
C#
Compatibility:
C#
Category:
Internet Programming
Downloads:
2373
This is good example how to make client-server application over Tcp. In main folder you have 3 projects(Server application, client application and user control).You can Tcp user control add in visual studio toolbox. Tcp namespace have 2 classes: TcpServer and Tcp_Client. TcpServer events: -TcpServer_OnStartReceivingData -TcpServer_DataRecievedAndSendResponse -TcpServer_OnEndReceivingData Tcp-Client events: -Tcp_Client_DataSend -Tcp_Client_ResponseRecieved TcpServer is made with thread, so the window will not frozen. Both classes have events which helping user to manipulate with data over transmission. Also in this example you can see how to send text and images over tcp. Enjoy!
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement