Continue to Site

Welcome to EDAboard.com

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.

Recent content by shinsengumi

  1. S

    Receive Image Bytes From HTTP Response Through C Socket Programming, How to?

    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 ==...
  2. S

    Receive Image Bytes From HTTP Response Through C Socket Programming, How to?

    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...
  3. S

    Socket Function in Linux and Windows Help

    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...
  4. S

    Linker Errors when Compiling C Socket Program in DevC++

    I tried using WSAStringToAddressA: int main(int argc, char **argv) { SOCKADDR_IN servaddr; char AddrValue[256] = "10.36.7.172"; char AddrString[256] = "Some dummy value"; DWORD dwSizeOfStr = sizeof(AddrValue); int nSizeOfInput = sizeof(AddrString); WSADATA wsaData...
  5. S

    Linker Errors when Compiling C Socket Program in DevC++

    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...
  6. S

    Linker Errors when Compiling C Socket Program in DevC++

    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...
  7. S

    Linker Errors when Compiling C Socket Program in DevC++

    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...

Part and Inventory Search

Back
Top