Find Jobs
Hire Freelancers

C socket example

$10-15 USD

Ditutup
Dibuat lebih dari 20 tahun yang lalu

$10-15 USD

Dibayar ketika dikirim
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 Proyek: 3008609

Tentang proyek

10 proposal
Proyek remot
Aktif 20 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
10 freelancer menawar dengan rata-rata $9 USD untuk pekerjaan ini
Avatar Pengguna
See private message.
$11,90 USD dalam 1 hari
5,0 (104 ulasan)
7,0
7,0
Avatar Pengguna
See private message.
$8,50 USD dalam 1 hari
3,1 (26 ulasan)
5,3
5,3
Avatar Pengguna
See private message.
$11,05 USD dalam 1 hari
3,8 (16 ulasan)
2,7
2,7
Avatar Pengguna
See private message.
$3,40 USD dalam 1 hari
0,0 (1 ulasan)
0,0
0,0
Avatar Pengguna
See private message.
$8,50 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
See private message.
$4,25 USD dalam 1 hari
0,0 (1 ulasan)
0,0
0,0
Avatar Pengguna
See private message.
$11,05 USD dalam 1 hari
0,0 (1 ulasan)
0,0
0,0
Avatar Pengguna
See private message.
$10,20 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
See private message.
$12,75 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
See private message.
$4,25 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera CANADA
Canada
0,0
0
Anggota sejak Jan 1, 2003

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.