Net::ST...ent::IO(3)

πŸ“¦ version 2.3, in epel 9

πŸ’– Net::ST...ent::IO(3) πŸ’–

okay so this is the User Contributed Perl Documentation page for Net::ST...ent::IO(3), and bestie, it's giving internal I/O support with a very specific job. Let's get into it 🫢


🌸 NAME 🌸

Net::STOMP::Client::IO - Input/Output support for Net::STOMP::Client


✨ DESCRIPTION ✨

This module literally provides Input/Output (I/O) support. It is used internally by Net::STOMP::Client and should not be directly used elsewhere β€” no cap, it's an internal module, not a main-character module you should be calling yourself πŸ’…

It uses non-blocking I/O: the socket is in non-blocking mode, and errors like EAGAIN or EWOULDBLOCK are trapped. So yes, it's out here catching those little socket gremlins so the rest of the code can breathe 😌✨


πŸŽ€ FUNCTIONS πŸŽ€

This module provides the following internal methods, and yes, they are all doing very important little jobs:

  • new(SOCKET) β€” return a new Net::STOMP::Client::IO object (class method, periodt πŸ’«)
  • queue_data(DATA) β€” queue the given data by appending it to the internal outgoing buffer; DATA is a binary string reference. Return the length of DATA in bytes πŸ“¦
  • send_data([OPTIONS]) β€” send some queued data to the socket; return the total number of bytes written πŸ”₯
  • receive_data([OPTIONS]) β€” receive some data from the socket and put it in the internal incoming buffer; return the total number of bytes read πŸ¦‹

🌈 SEE ALSO 🌈

Net::STOMP::Client β€” go check out the actual main character of this whole situation πŸ‘‘


πŸ‘‘ AUTHOR πŸ‘‘

Lionel Cons <http://cern.ch/lionel.cons> ✨

Copyright (C) CERN 2010-2017


mwah πŸ’‹ this iconic little page comes from perl v5.32.1 and is dated 2019-07-26 β€” catch you in the terminal, bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from