Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!yale!breissinger-marc From: breissinger-marc@CS.Yale.EDU (Marc Breissinger) Newsgroups: comp.lang.eiffel Subject: newtworking in Eiffel Message-ID: <57210@yale-celray.yale.UUCP> Date: 15 Apr 89 21:02:44 GMT Sender: root@yale.UUCP Reply-To: breissinger-marc@CS.Yale.EDU (Marc Breissinger) Organization: Yale University Computer Science Dept, New Haven CT 06520-2158 Lines: 18 Has anyone out there ever used Eiffel for networking? I am currently working on a multi-player adventure game in eiffel. I have the client and server code written in C and I need to wrap eiffel classes around it somehow. The problem I am running into is that the Unix network system calls have params that are pointers to structures (in particular, hostent, servent, sockaddr, fd_set). I thought I might be able to write C routines which accept the individual pieces of data in the structure and then call the appropriate routines. I could then wrap an eiffel feature around these routines. The problem, however, is that some of the system calls return pointers to these structures. How do I get this data back into Eiffel? Any ideas or examples would be greatly appreciated. Thanks in advance, --Marc