← Back to team overview

rohc team mailing list archive

Re: [Question #180689]: about ntohs() on windows

 

Question #180689 on rohc changed:
https://answers.launchpad.net/rohc/+question/180689

    Status: Needs information => Open

qingbaibai gave more information on the question:

hello,
What I've done is to modify some header files like netinet/ip.h, netinet/ip6.h and netinet/in.h to make sure that the library can be tested on windows. Now I'm learning Winpcap and I haven't add the Winpcap library to ROHC. Parts related to libpcap in test.c and test.h haven't solved.  And I have't find the right function to replace the function gettimeofday() of linux.This is the source code I modified. I use SlickEdit code Editor and MinGW. I hope it  will be helpful.
Regards,qingbaibai

> To: rohc@xxxxxxxxxxxxxxxxxxx
> From: question180689@xxxxxxxxxxxxxxxxxxxxx
> Date: Tue, 6 Dec 2011 19:41:01 +0000
> Subject: Re: [Rohc] [Question #180689]: about ntohs() on windows
> 
> Question #180689 on rohc changed:
> https://answers.launchpad.net/rohc/+question/180689
> 
>     Status: Open => Needs information
> 
> Didier Barvaux requested more information:
> Hello,
> 
> I'm pleased that you fixed the problem!
> 
> Could you quickly describe the process you followed to build the library
> with MinGW? Could you also send the source patch that makes the library
> build? It could be very helpful for other people that are interested in
> building the library under Windows...
> 
> Regards,
> Didier
> 
> -- 
> You received this question notification because you are a member of ROHC
> Team, which is an answer contact for rohc.
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~rohc
> Post to     : rohc@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~rohc
> More help   : https://help.launchpad.net/ListHelp

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.