Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

CSockets

Symbols

  • CSocketConnect
  • CSocketListener
  • CSocketObject
  • CSocketOpen
KirillBelov`CSockets`
CSocketObject
​
CSocketObject
[socketId]
socket representation.
​
Details and Options

Examples  
(1)
Basic Examples  
(1)
Create server socket:
In[1]:=
server=
CSocketOpen
[8000]
Out[1]=
CSocketObject
SocketID: 1968
DestinationPort: 8000
DestinationHostname: 127.0.0.1

Information about the socket host:
In[2]:=
server["DestinationHostname"]
Out[2]=
127.0.0.1
Information about the socket port:
In[3]:=
server["DestinationPort"]
Out[3]=
8000
Close server:
In[4]:=
Close[server]
Out[4]=
0
SeeAlso
CSocketOpen
▪
CSocketConnect
▪
Close
▪
SocketObject
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com