Click here to Skip to main content
15,896,201 members
Home / Discussions / C#
   

C#

 
QuestionWindows Service Credentials Pin
Sangioo17-Sep-09 2:09
Sangioo17-Sep-09 2:09 
QuestionContext menu for a text box. Pin
Pavan Navali17-Sep-09 1:45
Pavan Navali17-Sep-09 1:45 
AnswerRe: Context menu for a text box. Pin
Not Active17-Sep-09 1:49
mentorNot Active17-Sep-09 1:49 
GeneralRe: Context menu for a text box. Pin
Pavan Navali17-Sep-09 18:26
Pavan Navali17-Sep-09 18:26 
GeneralRe: Context menu for a text box. Pin
Not Active18-Sep-09 1:43
mentorNot Active18-Sep-09 1:43 
Questiondisabled hyperlink and write arrow cursor Pin
Idoshhh17-Sep-09 1:17
Idoshhh17-Sep-09 1:17 
AnswerRe: disabled hyperlink and write arrow cursor Pin
Not Active17-Sep-09 1:53
mentorNot Active17-Sep-09 1:53 
Questionmeasure received data/s for an udp multicast address [modified] Pin
collapo17-Sep-09 1:08
collapo17-Sep-09 1:08 
AnswerRe: measure received data/s for an udp multicast address Pin
Luc Pattyn17-Sep-09 2:32
sitebuilderLuc Pattyn17-Sep-09 2:32 
GeneralRe: measure received data/s for an udp multicast address Pin
collapo17-Sep-09 3:16
collapo17-Sep-09 3:16 
GeneralRe: measure received data/s for an udp multicast address Pin
Luc Pattyn17-Sep-09 3:23
sitebuilderLuc Pattyn17-Sep-09 3:23 
GeneralRe: measure received data/s for an udp multicast address Pin
collapo17-Sep-09 4:17
collapo17-Sep-09 4:17 
QuestionAPI in C# Pin
vahid_erad17-Sep-09 0:54
vahid_erad17-Sep-09 0:54 
AnswerRe: API in C# Pin
Calla17-Sep-09 1:11
Calla17-Sep-09 1:11 
AnswerRe: API in C# Pin
Arun Jacob17-Sep-09 1:21
Arun Jacob17-Sep-09 1:21 
AnswerRe: API in C# Pin
Harvey Saayman17-Sep-09 1:52
Harvey Saayman17-Sep-09 1:52 
QuestionOmitting HTML footer ? Pin
Mohammad Dayyan17-Sep-09 0:47
Mohammad Dayyan17-Sep-09 0:47 
AnswerRe: Omitting HTML footer ? Pin
Not Active17-Sep-09 1:45
mentorNot Active17-Sep-09 1:45 
GeneralRe: Omitting HTML footer ? Pin
Mohammad Dayyan17-Sep-09 2:12
Mohammad Dayyan17-Sep-09 2:12 
GeneralRe: Omitting HTML footer ? Pin
Not Active17-Sep-09 2:34
mentorNot Active17-Sep-09 2:34 
QuestionTCP Socket issue Pin
Harvey Saayman17-Sep-09 0:43
Harvey Saayman17-Sep-09 0:43 
AnswerRe: TCP Socket issue Pin
harold aptroot17-Sep-09 3:17
harold aptroot17-Sep-09 3:17 
GeneralRe: TCP Socket issue Pin
Harvey Saayman17-Sep-09 3:26
Harvey Saayman17-Sep-09 3:26 
I tried sending just bytes bytes like so

TcpClient BadgerConnection = new TcpClient();
BadgerConnection.Connect(IPAddress.Parse("10.0.0.100"), 1111);
if (BadgerConnection.Connected)
{
    StreamWriter sw = new StreamWriter(BadgerConnection.GetStream());
    sw.AutoFlush = true;

    byte[] Buffer = new byte[]
    {
        161,
        15,
        89,
        1,
        89,
        3,
        102
    };   
    sw.Write(Buffer);
}

And the sniffer picked up this:
00000000: (TCP/IP) Sending Packet, 17.09.2009 15:24:37.684
BadgerTest.vshost.exe (2188)
0.0.0.0:1200 ® 10.0.0.100:1111
Size: 13 bytes
 53 79 73 74 65 6D 2E 42 79 74 65 5B 5D            System.Byte[]


WTF | :WTF:

Harvey Saayman - South Africa
Software Developer
.Net, C#, SQL

you.suck = (you.Occupation == jobTitles.Programmer && you.Passion != Programming)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

GeneralRe: TCP Socket issue Pin
harold aptroot17-Sep-09 3:30
harold aptroot17-Sep-09 3:30 
GeneralRe: TCP Socket issue Pin
Harvey Saayman17-Sep-09 5:04
Harvey Saayman17-Sep-09 5:04 

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.