Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
That's actually what I've done. The problem is, the HTTP response I'm getting seems to be the HTTP header only (no image bytes.) After receiving the response, I issue a print command to see what I'm able to receive:
numbytes=recv(ConnectSocket,recvbuf,sizeof(recvbuf),0);
if (numbytes ==...
Hi,
What command/technique is needed in a C program to receive image bytes through socket programming from an HTTP response? I want to develop a program that requests for an image from a server, then upon receiving the bytes comprising the image, it should write these bytes into a newly created...
Hello all. Can anyone here help me create a separate function for the socket() API in socket programming? I successfully created one in Linux before but so far I can't do the same in Windows. The Windows version can't successfully connect using the separate socket() function. My primary suspect...
Thanks! Most of the linker errors were gone now. Some still remained though:
[Linker error] undefined reference to `inet_pton'
[Linker error] undefined reference to `index'
I used inet_pton and *index in the Linux program. Do you know of their supposed counterparts for windows? These are...
First off thanks for the reply.
I didn't compile the Linux program on windows as is. I've edited my program's header files such that the program may be compiled on windows. I attached them in my previous post but since I'm new here I wasn't allowed to post such links yet so I removed them(but...
Hello all. I'm trying to compile a socket program in DevC++ but everytime I do it I get a lot of linker. I have previously run the socket program successfully in Linux but I have to export it to WindowsXP, and I must admit I'm relatively new to programming in WindowsXP. I also learned that to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.