[Freeciv-Dev] Re: Updated meta patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi
>> But I still not know if I can use the special amiga code part
>> instead of the old code part. The special amiga code uses send()
>> and recv(), instead of fdopen().
>> Please let me know if send() and recv() is available on every
>> system.
>> Accoording to the man send() appeared in 4.2BSD and recv(), too.
>> Also socket() which is uses by freeciv appeared in 4.2BSD.
> Is that amiga code in the CVS curently? Useing send() and recv() may help
> my port project because Open transport includes the folowing functions
> OTRcv(EndpointRef ref, void* buf, size_t nbytes, OTFlags* flags);
> OTSnd(EndpointRef ref, void* buf, size_t nbytes, OTFlags flags); the main
> items are the endpointref items (those are the conections) and the buffer
> (that's the data)
Actually it is not used because I still don't know if send() or recv()
is available everywhere. If is available everywhere we could also replace
some read() and write() calls in common/packets.c and otherwhere with
them?
bye,
Sebastian Bauer
|
|