Skip to main content

Posts

Showing posts with the label Connections

What is Client-Side? and What is Server-Side? - Client-Side Vs. Server-Side

In actual Client-side means the action takes place on the user’s (the client’s) computer. Server-side implies that the action takes place on a web server. So what can we mean by action? And why does some action happen on your computer and some on a server? When we say action we mean all that employment that programming languages do. you will be definitely remember from our term related to programming languages that they are the doers of the web. Programming languages like Ruby, Python, and JavaScript do things like: send an email, ask the bank what proportion money you've in your account, or tell a photograph slideshow to advance to the following image. In order for a programming language to do and do its job, the pc should understand the language its speaking. Almost every computer within the planet understands one programming language: JavaScript. For such type of reason, so many things which can be accomplished using JavaScript are often evaded needing access through the interne...

What is Zeromq? explain the socket types of Zeromq

ZeroMQ is a library used to implement messaging and communication systems between applications and processes - fast and asynchronously. If you have past experience with other application messaging solutions such as RabbitMQ, it might come a little bit challenging to understand the exact position of ZeroMQ. When compared to some much larger projects, which offer all necessary parts of enterprise messaging, ZeroMQ remains as just a lightweight and fast tool to craft your own. ZeroMQ Socket Types ZeroMQ differs in the way its sockets work. Unlike the synchronous way the regular sockets work, ZeroMQ’s socket implementation “present an abstraction of an asynchronous message queue”. The way these sockets work depend on the type of socket chosen. And flow of messages being sent depend on the chosen patterns, of which there are four: Request/Reply Pattern: Used for sending a request and receiving subsequent replies for each one sent. Publish/Subscribe Pattern: Used for distributing data fro...

What do we say Socket in Computer Network?

A socket is one endpoint of a two way communication link between two programs running on the network. The socket mechanism provides a means of inter-process communication (IPC) by establishing named contact points between which the communication take place. Sockets allow communication between two different processes on the same or different machines. To be more precise, it's a way to talk to other computers using standard Unix file descriptors. In Unix, every I/O action is done by writing or reading a file descriptor. A file descriptor is just an integer associated with an open file and it can be a network connection, a text file, a terminal, or something else. Socket are generally employed in client server applications. The server creates a socket, attaches it to a network port addresses then waits for the client to contact it. The client creates a socket and then attempts to connect to the server socket. When the connection is established, transfer of ...