101 Topics

Member Avatar for
Member Avatar for king_koder

Hi, I started learning Python 3 around a month ago and I think, I am beginning to get the hang of it. However, I just recently realized that most of the modules I would like to use(wxPython, django,etc) aren't yet ported to Python. SO now, I'm really confused whether I …

Member Avatar for ultimatebuster
0
637
Member Avatar for Ulukay

Ive got a big problem. I need to read data from the serial port Ive used serialport from the toolbox , but dont know how to use it. I used to do it on a Amiga like this open serial("serial.device".0.2400.0) rem(open port) repeat GW.w=readserial(0) if gw>29 and gw<128 gewicht$=gewicht$+chr$(gw) rem(at …

Member Avatar for albay
0
264
Member Avatar for Stefano Mtangoo

Hi there, I need to block port 80 (HTTP for internet). Is there a way to block give socket? Thanks!

Member Avatar for sheva249
0
779
Member Avatar for Mossh

Hello all, I dont know if this is the right area but anyway Heres my situation: I have a software that updates 2 devices firmware's, the software communicates with the devices via Serial Cable(RS-232) , my problem is: I only have 1 serial(COM) port in my motherboard, and i need …

Member Avatar for Mossh
0
184
Member Avatar for jindalarpan

Hi am i having a acquirement of forward the ip address and port number to some different ip from windows machine. I know there could be many ways through which t can be done at network layer but that requires too much of changes. is it possible to do the …

Member Avatar for lasitha2005d
0
183
Member Avatar for DiMono

My web host has closed off port 25 to user code as it was being used by other users to send spam. Unfortunately, I have the following code which I use to validate email addresses: [code=php]function fixed_gethostbyname ($host) { // Try the lookup as normal... $ip = gethostbyname($host); // ...but …

Member Avatar for phpstan
0
902
Member Avatar for beaverkill

I have a working cpp file, lets just say it performs a+b, the filename is abc.cpp. I want to call up that file, function, in another file without having to rewrite the code and simply call up the function in another cpp file, xyz.cpp and simply map my variables over …

Member Avatar for n30h4x
0
7K
Member Avatar for 234pramod

Hi, I am trying to send data over wifi using socket. I am working Ubuntu. The data to be sent is received from a device over serial port. I want to create a virtual serial port which will read data from a file and present it in way serial port …

Member Avatar for Nick Evan
0
76
Member Avatar for 234pramod

Hi, I am trying to send data over wifi using socket. I am working Ubuntu. The data to send i receive from a device over serial port. I want to create a virtual terminal which send which act as serial port sending data from a file. Can anyone help me …

Member Avatar for 234pramod
0
117
Member Avatar for maxish

Hi, I have C# .net application which reads data from the serial port and launches a new thread to process the data when all data has been read (end of data is determined by timing constraints). I create a new object where the thread will run, copy the data that …

Member Avatar for PierlucSS
0
169
Member Avatar for maf5693

hi I have been looking around for a good file io tutorial and I cant find any. It is simple enough to me the process, mov dx,043h mov al,54 out dx,al etc. but i have no idea which ports go to where or how to write to a hard disk …

Member Avatar for maf5693
0
236
Member Avatar for wakeup12

Hello, I have used the following code to list my serial ports on my computer, but i am receiving the abnormal portnames as my attachment. The portnames should be as following text: Com3 52 8 11 38 6 13 53 4 My code: [CODE] Dim ports As String() = IO.Ports.SerialPort.GetPortNames() …

Member Avatar for Dukane
0
119
Member Avatar for delizihin

I'm trying to create a messenger-like program, which user will enter an IP adress and connect to another user and send messages with a send button, and receive and view messages at a textbox. But my problem: "The target machine actively refused". I'm trying to connect myself for testing using …

Member Avatar for kvprajapati
0
272
Member Avatar for Fernand0

Hey, before everything, sorry about my english, i will do my best I'm really new at this, i just want to know where i should start learning about security, control of ports, control the sockets already initialized for other program, viruses, spywares, hack, nukes, etc.. I'm just asking for sources(i …

0
103
Member Avatar for arunkumars

Hi all, Want ur help to kick start one of my projects, where in I have to read and write data from USB port. If some1 here could help me out about how can i start and go about it would be a good favor, Also some links which contains …

Member Avatar for Marc Reed
0
166
Member Avatar for strax

hello, setting up my first home server here. i can access apache server on my local network fine, but port 80 is blocked by my isp, so I cant access it from outside my lan. so i added listen 8080 to port.conf then i forwarded the port in my router. …

Member Avatar for rch1231
0
144
Member Avatar for mordicaii

I have a Verizon FiOS router. I need to be able to forward port 5900 (VNC) to a specific machine, is there any way to do this over SSH? I can't just use Lynx because the router config page uses JavaScript for [I]everything[/I]. Is there any way I can forward …

0
126
Member Avatar for abdulraqeeb33

Could some one please tell me if my analysis about the FTP pasv and port modes is right. Let there be a dynamic firewall that protects the network 136.142.117.0/24. It blocks most incoming TCP connections but allows incoming FTP requests to port number 21 and destination IP address 136.142.117.11. Identify …

Member Avatar for sheltant
0
212
Member Avatar for gangster88

I need to have 4 functions which asks the user how many times to flip the coin and then displays the number of heads and the number of tails as a decimal? [code] def getInputs(): times=input("please enter the number of times the coin should be flipped: ") def simulateFlips(): for …

Member Avatar for charlottetemp
0
1K
Member Avatar for primero

Hello USB problem solvers, I would like to let you know that I have solved my problem regarding my Flash drive, when I plugged it in to the USB port it was recognised by the system but I could not see what folders it had, so I looked everywhere to …

Member Avatar for primero
0
166
Member Avatar for gangster88

I need the function to be able to walk in all four directions with equal probabbility and return the distance away from the starting point. The function below only takes steps forwards and backwards? [code] def main(): numWalks, numSteps = getInputs() averageSteps = takeWalks(numWalks, numSteps) printExpectedDistance(averageSteps) def getInputs(): numWalks = …

Member Avatar for thecheesewheel
0
103
Member Avatar for aksshe10

i have internet connected in all my computers but i have bloced net surfing by blocking port80 from the router. could anyone suggest a way to change the settings of one computer temporarly to access the net. i can only use internet explorer.(no extra program to be installed) thankx

Member Avatar for miiji
0
195
Member Avatar for saadikhan

Hello guys, I have a TCP Listener Server which listens to requests and replies them. It is working fine in a particular network. But what if i would need to make it available for everyone (my clients) over internet to connect to it and send receive messages/data? My current code …

Member Avatar for sknake
0
733
Member Avatar for gangster88

i am a bit stuck on this, i need to call the first 2 functions for the output in the 3rd one. The user has to should be able to continue until they want to stop converting and they should be asked on which way the conversion is to be …

Member Avatar for sneekula
0
583
Member Avatar for gangster88

how could i double a number when clicked on in the graphics window?... this is for graphics.py and a line separating the two sides in the graphics window and on each click on either side it must go up by 2 until 12? i can only think of using a …

Member Avatar for jaison2
0
150
Member Avatar for gangster88

how could i call the above function so that when i input something like 21 for the mark the ouput is "the grade is A", and when the user inputs something more than 25 and less than 0 hes asked to input it again..? [code] def mark2Grade(mark): if mark >=20: …

Member Avatar for gangster88
0
114
Member Avatar for gangster88

I need the function to display a set of eyes, so if i call the function Eyes(3,4) a graphics window opens with exact dimesions for 4 coloumns and 2 rows of eyes... [code] from graphics import * def drawCircle(win, centre, radius, colour): circle = Circle(centre, radius) circle.setFill(colour) circle.setWidth(2) circle.draw(win) def …

Member Avatar for battlecrab
0
111
Member Avatar for gangster88

I need the function to display a square of numbers. This is the actual function. [code] def draw(n): for i in range(n+1): print i*(n) [/code] but if i call the function [code] def drawBlock(3): [/code] then the output should be 333 222 111 but i cant understand how to get …

Member Avatar for vegaseat
0
141
Member Avatar for gangster88

When the function is called count(3,5) then it should display 3,4 and 5.. but my function only seems to show 3 and 4 and not 5? def count(first,last): for i in range(first, last): print i

Member Avatar for Mathhax0r
0
134
Member Avatar for gangster88

The function below is supposed to ask the user to enter a choice of rock paper or sciessors and output an error mesage if the user enters an invalid choice and then ouput a message if they won, drew or lost against the computer. [code] def rockPaperScissors(): import random choice=raw_input("please …

Member Avatar for sentinel123
0
230

The End.