Find Jobs
Hire Freelancers

network programming using sockets in linux

$30-250 USD

Fullført
Lagt ut omtrent 5 år siden

$30-250 USD

Betalt ved levering
Develop a TCP sequential server (listening to the port specified as the first parameter of the command line, as a decimal integer) that, after having established a TCP connection with a client, accepts file transfer requests from the client and sends the requested files back to the client, following the protocol specified below. The files available for being sent by the server are the ones accessible in the server file system from the working directory of the server. Develop a client that can connect to a TCP server (to the address and port number specified as first and second command-line parameters, respectively). After having established the connection, the client requests the transfer of the files whose names are specified on the command line as third and subsequent parameters, and stores them locally in its working directory. After having transferred and saved locally a file, the client must print a message to the standard output about the performed file transfer, including the file name, followed by the file size (in bytes, as a decimal number) and timestamp of last modification (as a decimal number). Any timeouts used by client and server to avoid infinite waiting should be set to 15 seconds. The protocol for file transfer works as follows: to request a file the client sends to the server the three ASCII characters “GET” followed by the ASCII space character and the ASCII characters of the file name, terminated by the ASCII carriage return (CR) and line feed (LF): G E T …filename… CR LF (Note: the command includes a total of 6 ASCII characters, i.e. 6 bytes, plus the characters of the file name). The server responds by sending: + O K CR LF B1 B2 B3 B4 File contents……… T1 T2 T3 T4 Note that this message is composed of 5 characters followed by the number of bytes of the requested file (a 32-bit unsigned integer in network byte order - bytes B1 B2 B3 B4 in the figure), followed by the bytes of the requested file contents, and then by the timestamp of the last file modification (Unix time, i.e. number of seconds since the start of epoch, represented as a 32-bit unsigned integer in network byte order - bytes T1 T2 T3 T4 in the figure). To obtain the timestamp of the last file modification of the file, refer to the syscalls stat or fstat. The client can request more files using the same TCP connection, by sending several GET commands, one after the other. When it has finished sending commands on the connection, it starts the procedure for closing the connection. Under normal conditions, the connection should be closed gracefully, i.e. the last requested file should be transferred completely before the closing procedure terminates. In case of error (e.g. illegal command, non-existing file) the server always replies with: - E R R CR LF (6 characters) and then it starts the procedure for gracefully closing the connection with the client. This just the case of client and sequential server.
Prosjekt-ID: 19107059

Om prosjektet

13 forslag
Eksternt prosjekt
Aktiv 5 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
Tildelt til:
Brukeravatar
I have done simillar client/server applications in C. Can finish the task in 4-5 hours time. Can start working immediately.
$60 USD om 1 dag
4,9 (545 omtaler)
7,5
7,5
13 frilansere byr i gjennomsnitt $138 USD for denne jobben
Brukeravatar
Hi I'm an expert in network programming on Linux. I'm sure that I can easily do this project. We can have a about it. Thanks..
$170 USD om 3 dager
4,9 (377 omtaler)
7,5
7,5
Brukeravatar
Hi, Dear Employer! I am really interested in your project. I have enough experience in Network Socketing Programming, Python, C/C++, C#, java programming. I am 100% sure I can satisfy your requirements perfectly. User-Friendly Interface And Clear Algorithm Will Encourage Your Project. I want a long-term relationship with you. Thank you and best regards!
$250 USD om 3 dager
4,9 (66 omtaler)
7,2
7,2
Brukeravatar
HI.. I am good and experienced in network programming using TCP/IP sockets API in C/C++ language and can implement the client/server file transfer program as per given protocols as a console application.
$77 USD om 3 dager
4,9 (165 omtaler)
6,4
6,4
Brukeravatar
Hello there, I have vast experience usingf C and C++ on Windows, Linux, UNIX and h embedded platforms. This is clearly a student project; but, nevertheless, will take time to design and develop, as there are commands AND files being exchanged between server and client(Do we have to develop the client as well? I assume we do). Anyway, let me know if u want me to help you out. Peace D
$244 USD om 3 dager
5,0 (23 omtaler)
5,9
5,9
Brukeravatar
Nice to meet you. I've read the task description and can develop definitely. I'll provide you with the highly skill to complete this task in time. I'll also do my best for you. Please contact with me. Thank you very much.
$100 USD om 3 dager
4,8 (45 omtaler)
5,6
5,6
Brukeravatar
can do i. .
$222 USD om 3 dager
4,8 (37 omtaler)
5,2
5,2
Brukeravatar
I have implemented FTP server using TCP protocol stack in c on linux using socket programming. So i guess i can do your project very efficiently. Also i have designed central chat system using socket programming. So it will be easy to expand your work if you need
$155 USD om 7 dager
4,8 (50 omtaler)
5,0
5,0
Brukeravatar
Hi I’m ready for this project I’m an expert in C/C++ I read your specifications and I’m sure I can do it perfectly Please give me an opportunity to work for you
$60 USD om 4 dager
4,6 (15 omtaler)
3,7
3,7
Brukeravatar
Hello. I do have experience in this kind of project (TCP client-server), therefore, I can deliver it in a short amount of time. Looking forward to work with you.
$50 USD om 3 dager
0,0 (0 omtaler)
1,0
1,0
Brukeravatar
I have already worked on this project offline. I can finish this task as per your requirement. Please try me once and try to get the best support from my end.
$200 USD om 3 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
Hi, I am a protocol engineer and network programming is my daily work. I have read your specification. I can definitely deliver it in a short amount of time. Waiting for your good news! Thanks!
$50 USD om 3 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
Have done similar projects before. As per your specification the C program will be developed and delivered in 2 parts. Initially a binary version which runs on Ubuntu Linux will be delivered. After approval the source code also will be delivered to you. Time Required: 3 days
$160 USD om 3 dager
0,0 (0 omtaler)
0,0
0,0

Om klienten

PAKISTANs flagg
Karachi, Pakistan
4,6
1
Betalingsmetode bekreftet
Medlem siden feb. 8, 2014

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.