Click here to Skip to main content
15,895,011 members
Home / Discussions / C#
   

C#

 
GeneralRe: make video Pin
EliottA29-Oct-09 10:03
EliottA29-Oct-09 10:03 
GeneralRe: make video Pin
_Madmatt29-Oct-09 10:05
_Madmatt29-Oct-09 10:05 
GeneralRe: make video Pin
EliottA29-Oct-09 10:06
EliottA29-Oct-09 10:06 
GeneralRe: make video Pin
_Madmatt29-Oct-09 10:08
_Madmatt29-Oct-09 10:08 
GeneralRe: make video Pin
EliottA29-Oct-09 10:40
EliottA29-Oct-09 10:40 
GeneralRe: make video Pin
_Madmatt29-Oct-09 20:46
_Madmatt29-Oct-09 20:46 
AnswerRe: make video Pin
HimanshuJoshi29-Oct-09 23:46
HimanshuJoshi29-Oct-09 23:46 
QuestionCommiunicating with (Dial up or ADSL) Modem (or Wireless Card ) using Serial Port Pin
spiritboy29-Oct-09 5:56
spiritboy29-Oct-09 5:56 
hi there,
i have recently posted a Question asking how to send and recieve raw ethernet packets (bits on the wire) to the dialup (or any kind of modem) Modem's Connection, i have searched a lot and found and downloaded a Library Called SharpPcap (managed code for WinPcap) that can exactly do what i want, but only over Lan Connection and when i was trying to send packets over Dialup connection it fails,

someone answers me and tell me to send packets using SerialPort class, since Modems are connected to the computer using serial ports(like COM1 or COM2)

now suppose that my dial up modem is connected to the internet and is at port COM1, i'll wrote something like this:
<br />
SerialPort sp = new SerialPort("COM1",9600);<br />
sp.DtrEnable = true;<br />
sp.DataReceived += new SerialDataReceivedEventHandler(sp_DataReceived);<br />
sp.Open();//Throws an exception Here<br />
sp.Write(....My Packet);<br />


as i specify it throws me an exception, since this port is Opened now and is owned by a process, and as long as ports(such as COM1) can only be used by one and only one process, i can not do any thing...

is there another way or something else, i've searched for 2 or more weeks ... Frown | :(
AnswerRe: Commiunicating with (Dial up or ADSL) Modem (or Wireless Card ) using Serial Port Pin
Saksida Bojan29-Oct-09 6:37
Saksida Bojan29-Oct-09 6:37 
GeneralRe: Commiunicating with (Dial up or ADSL) Modem (or Wireless Card ) using Serial Port Pin
spiritboy29-Oct-09 8:30
spiritboy29-Oct-09 8:30 
GeneralRe: Commiunicating with (Dial up or ADSL) Modem (or Wireless Card ) using Serial Port Pin
Saksida Bojan30-Oct-09 0:21
Saksida Bojan30-Oct-09 0:21 
AnswerRe: Commiunicating with (Dial up or ADSL) Modem (or Wireless Card ) using Serial Port Pin
Wes Aday29-Oct-09 12:12
professionalWes Aday29-Oct-09 12:12 
GeneralRe: Commiunicating with (Dial up or ADSL) Modem (or Wireless Card ) using Serial Port Pin
spiritboy29-Oct-09 18:36
spiritboy29-Oct-09 18:36 
GeneralRe: Commiunicating with (Dial up or ADSL) Modem (or Wireless Card ) using Serial Port Pin
Wes Aday30-Oct-09 6:14
professionalWes Aday30-Oct-09 6:14 
GeneralRe: Commiunicating with (Dial up or ADSL) Modem (or Wireless Card ) using Serial Port Pin
spiritboy30-Oct-09 9:45
spiritboy30-Oct-09 9:45 
GeneralRe: Commiunicating with (Dial up or ADSL) Modem (or Wireless Card ) using Serial Port Pin
Wes Aday30-Oct-09 10:26
professionalWes Aday30-Oct-09 10:26 
QuestionDynamic Usings or? Pin
E Boer29-Oct-09 5:33
E Boer29-Oct-09 5:33 
AnswerRe: Dynamic Usings or? Pin
Saksida Bojan29-Oct-09 5:50
Saksida Bojan29-Oct-09 5:50 
GeneralRe: Dynamic Usings or? Pin
E Boer29-Oct-09 6:32
E Boer29-Oct-09 6:32 
GeneralRe: Dynamic Usings or? Pin
Saksida Bojan29-Oct-09 6:51
Saksida Bojan29-Oct-09 6:51 
GeneralRe: Dynamic Usings or? Pin
E Boer29-Oct-09 8:07
E Boer29-Oct-09 8:07 
QuestionWeb Crawler problem using google links. Pin
XboxMedz29-Oct-09 4:30
XboxMedz29-Oct-09 4:30 
AnswerRe: Web Crawler problem using google links. Pin
Eddy Vluggen29-Oct-09 10:02
professionalEddy Vluggen29-Oct-09 10:02 
GeneralRe: Web Crawler problem using google links. Pin
XboxMedz29-Oct-09 10:10
XboxMedz29-Oct-09 10:10 
GeneralRe: Web Crawler problem using google links. Pin
Eddy Vluggen29-Oct-09 11:06
professionalEddy Vluggen29-Oct-09 11:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.