Continuous port listening in server

General support questions
Post Reply
mikaa
Posts: 3
Joined: 2018/12/15 11:06:45

Continuous port listening in server

Post by mikaa » 2018/12/15 11:09:27

Hi guys. I have gps tracking devices. I want to listening port in server and I save packages to the database but I have not an idea.

GPS devices will continuously send data to the port. How can I continuous port listening?

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Continuous port listening in server

Post by tunk » 2018/12/15 16:09:40

I don't understand what you're trying to do, but I guess you could start looking at netcat.

mikaa
Posts: 3
Joined: 2018/12/15 11:06:45

Re: Continuous port listening in server

Post by mikaa » 2018/12/17 07:06:11

I opened a port for the gps device. I want to save the data from that port to the database.

Whoever
Posts: 1357
Joined: 2013/09/06 03:12:10

Re: Continuous port listening in server

Post by Whoever » 2018/12/17 07:19:51

I think you are asking a programming question, rather than one related to the OS.

It should be possible to do what you want in just about any language (C, C++, Python, etc..)

Perhaps try forums related to programming.

mikaa
Posts: 3
Joined: 2018/12/15 11:06:45

Re: Continuous port listening in server

Post by mikaa » 2018/12/17 07:44:25

I can write this program with Java. But how do I keep it running on the server?

Post Reply