Winsock.ew as a team project...

new topic     » topic index » view thread      » older message » newer message

Hi Euphorians:

Since the coding of Winsock.ew is getting harder,and there are a lot of
functions to implement, any help is very welcome. Greg Harris has joined the
(now) team. For anyone else wishing to collaborate, please send mail.

Currently I'm stuck with a structure accessing problem in the function
gethostbyaddr().
This function returns a pointer to a structure defining host information. In
C/C++ the structure is as follows:

struct hostent{
        char FAR * h_name;
        char FAR * FAR * h_aliases;
        short h_addrtype;
        short h_length;
        char FAR * FAR * h_addr_list;
};

Since I'm not good at all in C, I do not really understand how to code the
access to this data in Euphoria....
(What does those FAR * FAR * mean?... Pointers to Pointers?... Two
pointers?... Array of pointers?...)
(Help welcome. Join the winsock revolution!)

Homepage: http://www.geocities.com/SiliconValley/Sector/6432/ under
construction.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu