Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: asyncio byte data transfer
Post: RE: asyncio byte data transfer

I think you are right. Now it is OK. By the way, writer.write function echoes the data back to client that sends the data. But How can I send to other clients? Can we broadcast to all the clients?
gary Networking 5 2,107 Nov-08-2022, 09:00 AM
    Thread: asyncio byte data transfer
Post: RE: asyncio byte data transfer

strange, When I print data after reception in python, I get the pattern b'\x01' (Client transmits a "1"). When I retransmit it to client back, it displays the "smily face" symbol, which is equivalent ...
gary Networking 5 2,107 Nov-06-2022, 04:35 AM
    Thread: asyncio byte data transfer
Post: asyncio byte data transfer

I found the below code from my search on the web. The code provides a sample for server implementation using asyncio import asyncio async def handle_echo(reader, writer): data = await reader.read...
gary Networking 5 2,107 Nov-05-2022, 03:01 PM
    Thread: Fetching the port number using asyncio
Post: Fetching the port number using asyncio

Below is the code for multisocket server interacting with client. Port Numbers are pre-assigned as 1000 to 4000 for clients In the client thread function, writer.get_extra_Info does not fetch the port...
gary General Coding Help 0 955 Nov-01-2022, 02:53 AM
    Thread: multi-threaded tcp server-newbie
Post: RE: multi-threaded tcp server-newbie

Here is my code below that estabishes 6 sockets bearing port No. 1000 to 6000. I am able to recieve the data from client connected to port 1000. However for other clients, I am unable to recieve data ...
gary Networking 15 3,728 Oct-30-2022, 04:33 PM
    Thread: multi-threaded tcp server-newbie
Post: RE: multi-threaded tcp server-newbie

I simply call it data exchange server. It does not fit into definitions just mentioned above. The server simply accepts data from one client, manipulates it and sends the data to other clients and so ...
gary Networking 15 3,728 Oct-29-2022, 12:10 PM
    Thread: multi-threaded tcp server-newbie
Post: RE: multi-threaded tcp server-newbie

I am building a client server model ( towards laboratory automation) to exchange data. In my application there are 3 servers that need to run concurently and each server is connected to one port. I ha...
gary Networking 15 3,728 Oct-29-2022, 11:43 AM
    Thread: multi-threaded tcp server-newbie
Post: RE: multi-threaded tcp server-newbie

How do I assign the IP address (btw, I am not developing web server) and how do I read data and redirect to other clients using the http.server?
gary Networking 15 3,728 Oct-29-2022, 11:02 AM
    Thread: multi-threaded tcp server-newbie
Post: RE: multi-threaded tcp server-newbie

I am a newbie in python. I have experience with C and have developed modest TCP server with winsock. Yes, I am not a full time programmer, but pointers would certainly help. Ok I found some code on th...
gary Networking 15 3,728 Oct-29-2022, 08:18 AM
    Thread: multi-threaded tcp server-newbie
Post: RE: multi-threaded tcp server-newbie

I could not get started. Still learning. Essentially looking for concurrent servers which are each bound to different ports example: Server IP: 10.100.x.x, ports: 10000, 20000 and say 30000
gary Networking 15 3,728 Oct-28-2022, 12:38 PM
    Thread: multi-threaded tcp server-newbie
Post: multi-threaded tcp server-newbie

I am a newbie and starting to learn python. I have a task of developing multi-threaded server which can handle upto 3 clients. I have looked at different forums and undoubtedly there are zillion ways ...
gary Networking 15 3,728 Oct-24-2022, 03:27 AM
    Thread: dynamic object creation using python
Post: RE: dynamic object creation using python

Ok. I have got the right resource to get started. Thank you. I also have a requirement to create similar UI which shall have impressive look as displayed in webpage https://vcvrack.com/Rack. Could any...
gary General Coding Help 7 1,277 Oct-15-2022, 08:37 AM
    Thread: dynamic object creation using python
Post: RE: dynamic object creation using python

I have used Visual basic earlier and getting used to python. Pointed direction would be highly useful for the said requirement.
gary General Coding Help 7 1,277 Oct-14-2022, 04:48 PM
    Thread: dynamic object creation using python
Post: dynamic object creation using python

I have the following requirement 1. Create several geometric objects such as square, triangle, circle etc. 2. Need to create a drop down menu that displays number 1 to 10 corresponding to each of the ...
gary General Coding Help 7 1,277 Oct-14-2022, 04:27 PM
    Thread: reorganize seria data
Post: reorganize seria data

I have serial data captured using coolterm. Sample captured data is shown below 09 9F 12 B1 0D 0A DA BC E1 1A 0A 80 14 63 0D 0A D7 AA DF 69 0B 15 15 80 0D 0A D4 D6 DD E9 0B 99 16 7A 0D 0A D3 9C DD AC...
gary General Coding Help 1 1,596 Aug-12-2019, 06:07 AM

User Panel Messages

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