MAMEWorld Central >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

crazyc
MAME Fan
Reged: 06/23/16
Posts: 20
Send PM
Re: Seeking info on making a mame plugin (mem:read_u8 over TCP/IP)
11/09/17 08:35 PM


If you use

Code:

socket = emu.file("rwc") -- rwc for read, write, create
socket:open("socket.127.0.0.1:1234")
socket:read(50) -- read 50 bytes from socket
socket:write(data)


you can use the built in socket support. open will either connect to a listening port or listen on the given port.

If you want a complete example you can look at the gdbstub plugin.

Edited by crazyc (11/10/17 02:05 AM)







Entire thread
Subject Posted by Posted on
* Seeking info on making a mame plugin (mem:read_u8 over TCP/IP) Jfarro 11/02/17 10:35 AM
. * Re: Seeking info on making a mame plugin (mem:read_u8 over TCP/IP) Jfarro  11/09/17 11:46 AM
. * Re: Seeking info on making a mame plugin (mem:read_u8 over TCP/IP) crazyc  11/09/17 08:35 PM
. * Re: Seeking info on making a mame plugin (mem:read_u8 over TCP/IP) Jfarro  11/10/17 11:21 AM
. * Re: Seeking info on making a mame plugin (mem:read_u8 over TCP/IP) Jfarro  11/22/17 04:51 AM
. * Re: Seeking info on making a mame plugin (mem:read_u8 over TCP/IP) Dullaron  11/22/17 03:27 PM

Extra information Permissions
Moderator:  redk9258, URherenow, Tafoid 
0 registered and 29 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 311