Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. How to send and receive data through local WiFi using tcpsocket or websocket
Forum Updated to NodeBB v4.3 + New Features

How to send and receive data through local WiFi using tcpsocket or websocket

Scheduled Pinned Locked Moved Unsolved QtWebEngine
2 Posts 2 Posters 465 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bhanupro
    wrote on 20 Dec 2020, 06:21 last edited by
    #1

    I am using qt 5.14 Windows,through WiFi, i want send data to another laptop in that also qt 5.14, i need to know how to send data over WiFi, both laptops are connected to same WiFi.. Now how to initialize sockets, how to send and how to receive, i don't have any idea.. Please any one guide me...

    J 1 Reply Last reply 20 Dec 2020, 08:18
    0
    • B bhanupro
      20 Dec 2020, 06:21

      I am using qt 5.14 Windows,through WiFi, i want send data to another laptop in that also qt 5.14, i need to know how to send data over WiFi, both laptops are connected to same WiFi.. Now how to initialize sockets, how to send and how to receive, i don't have any idea.. Please any one guide me...

      J Offline
      J Offline
      JonB
      wrote on 20 Dec 2020, 08:18 last edited by
      #2

      @bhanupro
      Your two computers will be connected to the network over TCP/IP. QNetworkAccessManager Class can be used to send requests and receive replies. Or you can use QTcpSocket Class directly There are code demos of both in the documentation.

      1 Reply Last reply
      1

      1/2

      20 Dec 2020, 06:21

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved