Find Jobs
Hire Freelancers

C socket example

$10-15 USD

Cerrado
Publicado hace más de 20 años

$10-15 USD

Pagado a la entrega
Basically what I need is an example of a server using sockets in C. The code would need to be compatible for Windows and Linux (if possible). The socket code should be in a separate class so the main program would be something like: #include "yourclass" void main(void) { socket_class first_server; socket_class second_server; [login to view URL](); // Creates the sockets, checks for errors [login to view URL](); [login to view URL](23); //Sets the 1st server port [login to view URL](15); first_server.other_settings(); // Sets other settings that I could've forgot [login to view URL](); //Starts listening on this port [login to view URL](); return 0; } This would start both servers and the program would run until the user types Ctrl-C or something. The commands sent by the clients would be handled by the class using a switch...case. ADDED Nov 13: It is important that the application's thread is not interrupted by starting the server. In the example above, the would be some more code between [login to view URL](); and return 0; that would need to run at the same time that the server will accept connections and deliver the needed messages to the clients. That's about all I can think of for now. If you need details, don't hesitate to send me a mail. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site). ## Platform DOS, Linux (if possible)
ID del proyecto: 3008609

Información sobre el proyecto

10 propuestas
Proyecto remoto
Activo hace 20 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
10 freelancers están ofertando un promedio de $9 USD por este trabajo
Avatar del usuario
See private message.
$11,90 USD en 1 día
5,0 (104 comentarios)
7,0
7,0
Avatar del usuario
See private message.
$8,50 USD en 1 día
3,1 (26 comentarios)
5,3
5,3
Avatar del usuario
See private message.
$11,05 USD en 1 día
3,8 (16 comentarios)
2,7
2,7
Avatar del usuario
See private message.
$3,40 USD en 1 día
0,0 (1 comentario)
0,0
0,0
Avatar del usuario
See private message.
$8,50 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$4,25 USD en 1 día
0,0 (1 comentario)
0,0
0,0
Avatar del usuario
See private message.
$11,05 USD en 1 día
0,0 (1 comentario)
0,0
0,0
Avatar del usuario
See private message.
$10,20 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$12,75 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$4,25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de CANADA
Canada
0,0
0
Miembro desde ene 1, 2003

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.