Re: Problem facing to compilinglibcurl on VDSP4.5
Date: Sat, 12 Jan 2008 04:23:06 +0100
2008/1/11, Ajeet kumar.S wrote:
> [...] how I can map libcurl API to LwIP stacks [...] ?
libcurl builds up on BSD sockets API.
So before going any further with libcurl, you must be able to compile
the following snippet using VDSP++ and whatever libraries you need in
order to use BSD-like sockets API.
int main(int argc, char *argv)
int sock, rc, flag;
sock = socket(AF_INET, SOCK_STREAM, 0);
rc = recv(sock, buffer, sizeof(buffer));
rc = send(sock, buffer, sizeof(buffer));
-- -=[Yang]=-Received on 2008-01-12