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

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

Scheduled Pinned Locked Moved Unsolved QtWebEngine
2 Posts 2 Posters 621 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 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...

    JonBJ 1 Reply Last reply
    0
    • B bhanupro

      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...

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on 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

      • Login

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