2010-03-16 13:58:46     Can uClinux use socket?

Document created by Aaronwu Employee on Aug 21, 2013
Version 1Show Document
  • View in full screen mode

2010-03-16 13:58:46     Can uClinux use socket?

Jianxi Fu (UNITED STATES)

Message: 87276   

 

Hi all,

 

Can uClinux use socket?

 

I know that

 

In VisualDSP++5.0 it just need to

#include <lwip/sockets.h>

 

In VisualStudio, it need to add following

#include <winsock2.h>

#pragma comment(lib, "ws2_32.lib")

 

If uClinux can use socket, which head file should I need to add?

 

Sincerely

 

Jianxi

QuoteReplyEditDelete

 

 

2010-03-16 14:07:48     Re: Can uClinux use socket?

Jianxi Fu (UNITED STATES)

Message: 87277   

 

Also

 

On linux OS

 

I often add

 

#include <netinet/in.h>

#include <sys/socket.h>

 

So, is there any differences between socket on Linux and uClinux?

QuoteReplyEditDelete

 

 

2010-03-16 14:27:05     Re: Can uClinux use socket?

Robin Getz (UNITED STATES)

Message: 87280   

 

Jianxi:

 

It's the same.

 

  www.tenouk.com/cnlinuxsockettutorials.html

 

-Robin

QuoteReplyEditDelete

 

 

2010-03-16 14:46:08     Re: Can uClinux use socket?

Jianxi Fu (UNITED STATES)

Message: 87285   

 

Robin,

 

Thanks a lot for your advice.

Appreciate you very much.

 

Jianxi

Attachments

    Outcomes