Python Forum
Raw socket sendto function errors
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Raw socket sendto function errors
#2
Your code is hard to read.
Mostly this is the case not getting an answer.

self.mainip,self.mainport is a StingVar. Try self.mainip,self.mainport.get().
I think sock.sendto needs a tuple of address with (dest_ip, port).
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply


Messages In This Thread
Raw socket sendto function errors - by IronReign - Jun-01-2017, 02:54 AM
RE: Raw socket sendto function errors - by DeaD_EyE - Jun-24-2017, 09:48 PM
RE: Raw socket sendto function errors - by Larz60+ - Jun-24-2017, 10:25 PM
RE: Raw socket sendto function errors - by Blue Dog - Jul-04-2017, 09:50 PM
RE: Raw socket sendto function errors - by Blue Dog - Jul-09-2017, 04:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Function that searches and shows all socket hosts shaanukstar123 1 2,192 Jan-30-2020, 05:52 PM
Last Post: Gribouillis
  Question concerning function of a a socket pkm 4 3,903 Jun-04-2019, 07:48 AM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020