https://github.com/jacob-c-smith/socket
Cross platform network connections
https://github.com/jacob-c-smith/socket
c socket tcp
Last synced: 9 months ago
JSON representation
Cross platform network connections
- Host: GitHub
- URL: https://github.com/jacob-c-smith/socket
- Owner: Jacob-C-Smith
- License: mit
- Created: 2023-09-11T09:37:29.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-19T13:33:38.000Z (over 1 year ago)
- Last Synced: 2025-03-19T14:33:04.105Z (over 1 year ago)
- Topics: c, socket, tcp
- Language: C
- Homepage: https://g10.app/status/#primitives
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# socket
[](https://github.com/Jacob-C-Smith/socket/actions/workflows/cmake.yml)
Cross platform sockethronization primatives and high precision timestamps
> 1 [Download](#download)
>
> 2 [Build](#build)
>
> 3 [Example](#example)
>
>> 3.1 [Example output](#example-output)
>
> 4 [Definitions](#definitions)
>
>> 4.1 [Type definitions](#type-definitions)
>>
>> 4.2 [Function definitions](#function-definitions)
## Download
To download socket, execute the following command
```bash
$ git clone https://github.com/Jacob-C-Smith/socket
```
## Build
To build on UNIX like machines, execute the following commands in the same directory
```bash
$ cd socket
$ cmake .
$ make
```
This will build the example program, the tester program, and dynamic / shared libraries
To build socket for Windows machines, open the base directory in Visual Studio, and build your desired target(s)
## Example
To run the example program, execute this command
```
$ ./socket_example
```
### Example output
[ NONE ]
[Source](main.c)
## Definitions
### TODO: Type definitions
```c
```
### TODO: Function definitions
```c
```
Written by Jacob Smith, 2023