Home » Source Code » Socket communications protocols

Socket communications protocols

leichentao0905
2013-11-25 02:29:14
The author
View(s):
Download(s): 0
Point (s): 1 
Category Category:
CommunicationCommunication C SharpC#

Description

Socket

Communication theory is relatively simple, it is broadly divided into the following steps.


Follow these steps on the server side.


1

) Established a server-side

Socket

, Starts listening for connection requests across the network.


2

) When it detects the connection request from the client, receives the connection request is sent to the client

Income and establish a connection with a client.


3

) When the communication is finished, the server closes the client

Socket

Connection.


The client consists of the following steps.


1

) To establish client

Socket

To determine the server's host name and port to which to connect.


2

) Sends a connection request to the server and wait for the server to return information.


3

) When the connection is successful, and interacts with the server for data.


4

) After the data is processed, it shuts itself down

Socket

Connection.


Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
SuperSocket.Agent.pdb17.50 kB28-10-13|00:23
supersocket.cmd49.00 B28-10-13|00:08
SuperSocket.Common.dll33.00 kB28-10-13|00:23
SuperSocket.Common.pdb103.50 kB28-10-13|00:23
SuperSocket.Common.XML55.98 kB28-10-13|00:23
SuperSocket.Dlr.dll16.50 kB28-10-13|00:23
Socket0.00 B21-11-13|12:06
...
Sponsored links

Comments

(Add your comment, get 0.1 Point)
Minimum:15 words, Maximum:160 words
1130087312
2017-01-22

希望能有帮助,新手学习socket,嗯嗯

  • 1
  • Page 1
  • Total 1

Socket communications protocols (51.49 kB)

Need 1 Point(s)
Your Point (s)

Your Point isn't enough.

Get 22 Point immediately by PayPal

Point will be added to your account automatically after the transaction.

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more Points

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D