1 #############################################################################
2 ## Name: ext/socket/XS/SocketServer.xs
3 ## Purpose: XS for Wx::SocketServer
4 ## Author: Graciliano M. P.
6 ## RCS-ID: $Id: SocketServer.xs 2057 2007-06-18 23:03:00Z mbarbon $
7 ## Copyright: (c) 2003 Graciliano M. P.
8 ## Licence: This program is free software; you can redistribute it and/or
9 ## modify it under the same terms as Perl itself
10 #############################################################################
12 MODULE=Wx PACKAGE=Wx::SocketServer
15 wxSocketServer::new( host , port , style = 0 )
23 RETVAL = new wxPlSocketServer( CLASS , addr , style ) ;
28 wxSocketServer::Accept(wait = true)
31 // works, more or less; not a good example of C++
32 RETVAL = ((wxPlSocketServer*)THIS)->Accept(wait);
36 wxSocketServer::AcceptWith( socket , wait = true )
40 RETVAL = THIS->AcceptWith( *socket , wait );
45 wxSocketServer::WaitForAccept( seconds = -1 , millisecond = 0 )