Need help on C
i have to write a small program to acquire a JPEG file from a DLNA server.
Conditions & Requirements :
- No need to implement a server-discovery-sequence. It is assumed that
IP address of DLNA server have already known to a client.
- C/C++, Perl, and Ruby on Linux are allowed to use.
- BUFFALO's client(dlna link theator( has the same function which I have to do.
- Capture packets between DLNA server and client. Then analize them.
Means once i know how to connect the server...
1.my machine is linux(where im wroking)means im client
2Server which i have to acess is windows xp
3.DLNA server application is running on the windows xp having Ip address 192.168.0.144
4.my mc ip(thats is linux)is 192.168.0.112
So my job is to capture the jpeg file from server.
need hint to write Code how to write programe to acquire file.any help will be
great help.I am new to this field
i just wanted to know hint..simply...because i am new to this field.i dont want code.but it will be great help if i get any hint or information sort of things.<<snip email address>>
Moved to network programming forum.
Essentially, learn about sockets, then send messages to the server to request information and then interpret the responses.
First step would be to read the "beej" tutorial if you intend to do this in C or C++.
Perl (and maybe Ruby) has higher level network APIs, so check the perlmod documentation for say "LWP".
Thanks alots Salem...I really wanted this information.Really a great help.thanks