Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yashmeh/jssocketz
https://github.com/yashmeh/jssocketz
Last synced: about 11 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/yashmeh/jssocketz
- Owner: YashMeh
- Created: 2019-02-06T17:56:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T20:07:03.000Z (over 3 years ago)
- Last Synced: 2023-03-02T14:43:34.384Z (over 1 year ago)
- Language: JavaScript
- Size: 362 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jsSocketz
jsSocketz is a nodejs program for sending images in a peer to peer UDP connection using senz query.
## Installation
```bash
npm install
```## Running
```bash
cd transfer_image
node sender.js
node receiver.js
```
STEP-1
Start the servers (sender-3001,receiver-3000)
![step1](https://user-images.githubusercontent.com/33328884/52519499-11f2b480-2c82-11e9-9244-395365a133cd.png)
STEP-2
Register Both the devices (sender and receiver)
![step2](https://user-images.githubusercontent.com/33328884/52519503-26cf4800-2c82-11e9-981f-ed43534d21db.png)
STEP-3
Check the directory for received.jpg
![stepthree](https://user-images.githubusercontent.com/33328884/52519513-39498180-2c82-11e9-9c38-2fbb00c150ad.png)