Skip to content

Repository files navigation

Socket Demo Project

This project contants many demo programs to show how to use socket in Linux. They are:

  • server_client : A simple demo, server listen to port and client connect to server.
  • server_longconn_client : Server hold long connection with client.
  • server_multithreads_client : Server uses multi-threads to handle client message.
  • server_threadpool_client : Server uses thread pool to handle client message.
  • server_epoll_threadpool_client : Server uses epoll and thread pool to handle client message.
  • server_epoll_multiproc_client : Server uses epoll and multi-processes to handle client message.

About

A repository containing many socket usage examples.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages