NetTalk Central

Author Topic: NetSimple and NetWebSocketServer  (Read 4442 times)

KC Chin

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
NetSimple and NetWebSocketServer
« on: November 23, 2018, 12:09:55 AM »
Hi,

I am not using the Webserver that need browsers. NetWebServer Allow WebSockets

I have an app which use the NetSimple as a server.
This app does not do web.  It is just receiving and sending data from/to client or another server).
(all apps are Clarion)

Questions:
1. Adding the Extension, NetWebSocketServer,  how to use or share the same IpAddress and Port?

2. Must the WebSockets requires Web?

Regards,
KC

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NetSimple and NetWebSocketServer
« Reply #1 on: November 23, 2018, 12:12:22 AM »
>> 1. Adding the Extension, NetWebSocketServer,  how to use or share the same IpAddress and Port?

Share with what? Multiple clients using the same server? Or multiple different servers sharing the same IP and Port?


>> 2. Must the WebSockets requires Web?

Yes

Cheers
Bruce

KC Chin

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
Re: NetSimple and NetWebSocketServer
« Reply #2 on: November 23, 2018, 12:16:40 AM »
1. share the ip address and port in one procedure that have NetSimple and NetWebSocketServer

answer my own question. oh well! more headaches.  Separate server app for separate job. Less problem and smoke less.

2. NetWebSocketServer requires Web? more like need a webserver

Done.
« Last Edit: November 23, 2018, 12:50:59 AM by KC Chin »