한국어

스마트폰앱

온누리070 플레이스토어 다운로드
    acrobits softphone
     온누리 070 카카오 프러스 친구추가온누리 070 카카오 프러스 친구추가친추
     카카오톡 채팅 상담 카카오톡 채팅 상담카톡
    
     라인상담
     라인으로 공유

     페북공유

   ◎위챗 : speedseoul


  
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


http://mbed.org/users/wasp/notebook/tcp-connection-test-program/



TCP Connection Test Program

This little nifty program allows you to create a TCP connection to a specified IP and port to send/receive buffered, unformatted messages. It also allows you to run a TCP server to listen for incoming connections, and print received messages.

/media/uploads/wasp/tcp.png

/media/uploads/wasp/wifly_communication_test.zip

  • Compiled program is located under bin\release
  • Compiled with a high DPI setting; some text may be truncated slightly

Some cautions worth noting:

  • Do not run the server and attempt to create a TCP connection with buttons in the TCPClient groupbox within the same instance of a program; doing so will cause the program to hang. If you wish to open a server and connect to it, open two instances of this program with one being the server and the other being the client.
  • Both IP and Port textboxes are used in the TCPClient functions, but only the Port textbox is used in the server; the listener code assumes it's listening for incoming connections on any IP address.

The following reference was used to create the code for the server:

C# Tutorial - Simple Threaded TCP Server

List of Articles