Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EDAF55
C-camera
Commits
109448ae
Commit
109448ae
authored
Oct 20, 2017
by
Sven Gestegård Robertz
Browse files
created socket example readme
parent
13cc07a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
socket_examples/README-socket.md
0 → 100644
View file @
109448ae
# Introduction to socket programming in C
This mimimal example consists of two files, a server which replies with
a message to the first client that connects and then exits, and a client
which connects to a server and outputs whatever it receives.
See "Socket programming in C" for more details.
To build and run the example, do
`make run`
. See the Makefile for details
An alternative to using simple_client is to use the telnet program to
connect to the server. To do that, start
`simple_server`
in one terminal,
and then type
`telnet localhost 5000`
in another.
Sometimes,
`telnet`
is a useful tool to look at or debug text-based protocols.
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment