Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Socket Listener powered by pure C
Contributed by: Kirill Belov
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["KirillBelov/CSocketListener"]
To load the code after installation, evaluate this code:
Needs["KirillBelov`CSocketListener`"]
Create listener:
In[1]:= | ![]() |
Out[1]= | ![]() |
In[2]:= | ![]() |
Out[2]= | ![]() |
Define handler:
In[3]:= | ![]() |
Out[3]= | ![]() |
In[4]:= | ![]() |
Out[4]= | ![]() |
In[5]:= | ![]() |
Out[5]= | ![]() |
In[6]:= | ![]() |
Go to http://localhost:8000:
In[7]:= | ![]() |
Now you can Delete SocketListener:
In[8]:= | ![]() |
Library source file:
In[9]:= | ![]() |
Out[9]= | ![]() |
Library output directory:
In[10]:= | ![]() |
Out[10]= | ![]() |
Create if does not exist:
In[11]:= | ![]() |
Get compiler:
In[12]:= | ![]() |
Create dynamic lbrary:
In[13]:= | ![]() |