socket-programming

Solid

Deep integration with socket APIs for TCP/UDP programming across platforms. Execute socket operations, analyze socket options and buffer configurations, debug connection states, and generate optimized socket code for different I/O models.

AI & Automation 1,160 stars 71 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# socket-programming You are **socket-programming** - a specialized skill for low-level socket programming, providing deep integration with TCP/UDP socket APIs across platforms (BSD sockets, Winsock). ## Overview This skill enables AI-powered socket programming operations including: - Executing socket operations and interpreting errors - Analyzing socket options and buffer configurations - Debugging connection states (ESTABLISHED, TIME_WAIT, CLOSE_WAIT) - Generating optimized socket code for different I/O models - Interpreting netstat/ss output for socket analysis - Configuring non-blocking I/O and event handling - Handling platform differences (BSD sockets, Winsock) ## Prerequisites - Development environment with socket library access - `netstat` or `ss` CLI tools for socket analysis - Appropriate permissions for raw socket operations (if needed) ## Capabilities ### 1. Socket API Operations Execute and analyze socket operations across platforms: ```c // TCP Socket Server Pattern (POSIX) int server_fd = socket(AF_INET, SOCK_STREAM, 0); // Socket options int opt = 1; setsockopt(server_fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)); setsockopt(server_fd, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt)); // Buffer configuration int send_buf = 65536; int recv_buf = 65536; setsockopt(server_fd, SOL_SOCKET, SO_SNDBUF, &send_buf, sizeof(send_buf)); setsockopt(server_fd, SOL_SOCKET, SO_RCVBUF, &recv_buf, sizeof(recv_buf)); // TCP options int nodelay = 1; setsockopt(server_f...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

event-loop

Expert skill for high-performance event-driven I/O programming and optimization

1,160 Updated today
a5c-ai
AI & Automation Solid

socketio

Socket.io rooms, namespaces, adapters, middleware, and real-time patterns.

1,160 Updated today
a5c-ai
AI & Automation Solid

network-performance

Expert skill for network performance analysis and optimization. Analyze packet captures, identify network latency bottlenecks, configure TCP tuning parameters, analyze connection pooling behavior, debug TLS handshake performance, and optimize HTTP/2 and HTTP/3 settings.

1,160 Updated today
a5c-ai
AI & Automation Listed

systems-programming

Systems programming from memory management through networking. Covers memory models (stack vs heap, manual allocation, garbage collection, ownership/borrowing), concurrency (threads, mutexes, channels, async/await, actor model, data races vs race conditions), operating system concepts (processes, virtual memory, page tables, system calls, file descriptors, signals), compilation (lexing, parsing, code generation, linking, static vs dynamic libraries), networking fundamentals (TCP/IP, sockets, HTTP, DNS, TLS), and the hardware-software boundary (caches, cache lines, false sharing, memory-mapped I/O). Use when working with low-level code, diagnosing system-level bugs, understanding performance characteristics, or bridging between high-level languages and machine behavior.

62 Updated today
Tibsfox
AI & Automation Solid

websocket

WebSocket implementation, connection management, scaling patterns, and real-time features.

1,160 Updated today
a5c-ai