[ENet-discuss] Platforms other then Windows and *nix?

Patrick Klos pklos at lauferwind.com
Thu Aug 8 12:56:39 PDT 2013


On 8/8/2013 2:00 PM, Doug Warren wrote:
> You'd have to define your terms a bit better.  It's straight C, if you 
> have berkley sockets and anything even vaguely resembling POSIX there 
> should be no need for extra support.  I use the same build scripts for 
> iOS/Android/OSX/Linux.

The platform in question uses lwIP 
<http://savannah.nongnu.org/projects/lwip/> (a lightweight IP stack).  
Not real close to POSIX, but the basic functions are there.  It's not 
quite _extra_ support, but it's _different_ support.  I have it 
essentially working.

> https://github.com/lsalzman/enet/blob/master/host.c shows a single 
> check for a platform specific check regarding how to get a uint32 
> timestamp.

Which is completely unnecessary when the platform abstraction layer 
(win32.c and unix.c) provides the enet_time_get() function!?!  It 
doesn't make sense why that function wouldn't be used?

Patrick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20130808/663c9d15/attachment.html>


More information about the ENet-discuss mailing list