PHP & More

A technical blog about programming in PHP and about technology in general: programming, workarounds and troubleshooting

WebSocket is an internet protocol that allow full-duplex communication between a client and a TCP/HTTP server. This means that data can be passed in both directions simultaneously. Unlike HTTP, in WebSocket protocol, the client doesn’t have to send a request in order to get responses. Incoming messages are handled by event handlers. HTML5 supports the …

Continue reading

cURL is a tool used for browsing the web from the shell or command-line. It supports many internet protocols, such as HTTP, FTM, POP3, IMAP, SMTP and more. See the full list here. With libcurl installed in your system and the C API, you can browse using a C program. You can also install the …

Continue reading