kudocc / simpleServer

a simple tcp server support standard input and customer protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simpleServer

A simple echo server support standard input and customer protocol

The build target is moved to ~/Desktop/ , You can launch the application by input the ./server4Someday in command line, it listens on 7001 port.

Once a client has connected, you can input some text in command line and click enter to send the text to client with specified text protocol, the text protocol is defined in NetworkHeader.h.

You can use tcpClient to test with this server.

About

a simple tcp server support standard input and customer protocol


Languages

Language:Objective-C++ 48.0%Language:C++ 23.9%Language:Objective-C 15.1%Language:Groff 11.9%Language:C 1.0%