You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Sami Vaarala 6749eefef7 Use netinet/in.h instead of arpa/inet.h 9 years ago
..
README.rst Add Windows variant of debug transport example 9 years ago
duk_trans_socket.h Add an explicit 'finish' call to debug trans 9 years ago
duk_trans_socket_unix.c Use netinet/in.h instead of arpa/inet.h 9 years ago
duk_trans_socket_windows.c Debug transport example const cast trivia 9 years ago

README.rst

================================================
Debug transport using a simple socket connection
================================================

This example implements an example debug transport which uses a Linux or
Windows TCP server socket on the debug target.

Files:

* ``duk_trans_socket.h``: header file for the transport, used for both Linux
and Windows socket variants.

* ``duk_trans_socket_unix.c``: implementation for Linux/Unix.

* ``duk_trans_socket_windows.c``: implementation for Windows.

Compile either Unix or Windows source file only.